package com.bbs2.service;

import java.util.List;

import com.bbs2.dao.RepostDao;
import com.bbs2.entity.Repost;

public class RepostService {
	RepostDao rdao = new RepostDao();
	public List<Repost>findByPostId(String id){
		return rdao.findByPostId(id);
	}
	public int del(String id){
		return rdao.del(id);
	}
	public int save(Repost r){
		return rdao.save(r);
	}
}
